Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Add authentication to ssh_scan_api #270

Merged
merged 3 commits into from
Dec 2, 2016
Merged

Add authentication to ssh_scan_api #270

merged 3 commits into from
Dec 2, 2016

Conversation

claudijd
Copy link
Contributor

@claudijd claudijd commented Dec 1, 2016

Adds a crude authentication layer to the ssh_scan_api

Fixes #262

# :status => "OK",
# :message => "Keep sending requests. I am still alive."
# }.to_json)
# end
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These all of a sudden stopped working, no idea why because they work IRL. Commenting them until we can revisit it.

expect(octet.to_i).to be >= 0
expect(octet.to_i).to be <= 20
end
expect(SSHScan::API_VERSION).to eql("1")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API version was too long 👍

@claudijd claudijd merged commit 2e8f401 into master Dec 2, 2016
@claudijd claudijd deleted the add_authentication branch December 2, 2016 14:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant